Learn R Programming

dprop (version 0.1.0)

Logistic distribution: Compute the distributional properties of the logistic distribution

Description

Compute the first four ordinary moments, central moments, mean, and variance, Pearson's coefficient of skewness and kurtosis, coefficient of variation, median and quartile deviation based on the selected parametric values of the logistic distribution.

Usage

d_logis(mu, sigma)

Value

d_logis gives the first four ordinary moments, central moments, mean, and variance, Pearson's coefficient of skewness and kurtosis, coefficient of variation, median and quartile deviation based on the selected parametric values of the logistic distribution.

Arguments

mu

Location parameter of the logistic distribution (\(\mu\in\left(-\infty,+\infty\right)\)).

sigma

The strictly positive scale parameter of the logistic distribution (\(\sigma > 0\)).

Author

Muhammad Imran.

R implementation and documentation: Muhammad Imran imranshakoor84@yahoo.com.

Details

The following is the probability density function of the logistic distribution: $$ f(x)=\frac{e^{-\frac{\left(x-\mu\right)}{\sigma}}}{\sigma\left(1+e^{-\frac{\left(x-\mu\right)}{\sigma}}\right)^{2}}, $$ where \(x\in\left(-\infty,+\infty\right)\), \(\mu\in\left(-\infty,+\infty\right)\) and \(\sigma > 0\).

References

Johnson, N. L., Kotz, S., & Balakrishnan, N. (1995). Continuous univariate distributions, Volume 2 (Vol. 289). John Wiley & Sons.

See Also

d_lnormal

Examples

Run this code
d_logis(4,0.2)

Run the code above in your browser using DataLab